home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat2 / standard / gethostid.z / gethostid
Encoding:
Text File  |  2002-10-03  |  1.5 KB  |  67 lines

  1.  
  2.  
  3.  
  4. ggggeeeetttthhhhoooossssttttiiiidddd((((2222))))                                                      ggggeeeetttthhhhoooossssttttiiiidddd((((2222))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      gethostid, sethostid - get/set unique identifier of current host
  10.  
  11. CCCC SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ####iiiinnnncccclllluuuuddddeeee <<<<uuuunnnniiiissssttttdddd....hhhh>>>>
  13.      iiiinnnntttt ggggeeeetttthhhhoooossssttttiiiidddd ((((vvvvooooiiiidddd))));;;;
  14.      iiiinnnntttt sssseeeetttthhhhoooossssttttiiiidddd ((((iiiinnnntttt hhhhoooossssttttiiiidddd))));;;;
  15.  
  16. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  17.      _S_e_t_h_o_s_t_i_d establishes a 32-bit identifier for the current host that is
  18.      intended to be unique among all UNIX systems in existence.  This is
  19.      normally a DARPA Internet address for the local machine.  This call is
  20.      allowed only to the superuser and is normally performed at boot time.
  21.  
  22.      _G_e_t_h_o_s_t_i_d returns the 32-bit identifier for the current host.
  23.  
  24. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  25.      hostid(1), gethostname(2)
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.